#ifndef _RECV_REGISTER_
#define _RECV_REGISTER_
#include "threadPool.h"

// 注册
int handle_register_request_command(int sockfd);
int handle_register_command(int sockfd, MYSQL *conn, const char *combined_data);


//登录
int handle_login_request_command(int sockfd, MYSQL *conn, const char *username);
int handle_login_command(int sockfd, MYSQL *conn, const char *combined_data,int* user_id);

#endif